/*
 *
 * (c) Copyright Ascensio System Limited 2010-2023
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
*/


@import "params.less";
#tableListProjects {
    tr {
        &.noActiveProj {
            color: #83888D;

            .responsible .userLink,
            .responsible .userLink.my,
            .responsible .participants,
            .milestoneCount a,
            .taskCount a {
                color: #83888D;
            }

            .responsible span {
                border-bottom-color: #83888D;
            }
        }

        .nameProject {
            white-space:nowrap;
            overflow:hidden;
            max-width:1px;

            span.private {
                background: url('../../../../../skins/default/images/svg/projects/lockorange.svg') no-repeat;
                margin-right: 3px;
                display: block;
                float: left;
                width: 16px;
                height: 16px;
                margin-top: 2px;
            }

            span.description {
                display: none;
            }
        }

        .milestoneCount,
        .taskCount {
            width: 70px;
            text-align: center;

            a {
                color: @text-color;
                text-decoration: none;
            }
        }

        td.checkbox {
             width:20px;
             padding: 0 4px 0 4px;
        }

        td.responsible {
            width: 200px;

            .userLink.my {
                color: @grey-text;
                font-weight: bold;
            }

            a.participants {
                margin-right: 8px;
                color: @grey-text;
                float: right;
                text-decoration: none;
            }
        }

        .trash {
            width: 25px;
            padding-left: 5px;

            img[title] {
                cursor: pointer;
                background-color: transparent;
            }
        }

        &:hover td.responsible a.participants,
        .milestoneCount a:hover,
        &:hover .milestoneCount a,
        .taskCount a:hover,
        &:hover .taskCount a {
            text-decoration: underline;
        }
    }

        tr td.responsible .userLink,
        &.simple-view-table tr td.responsible .userLink {
            float: left;
            max-width: 160px;
            height: 16px;
            overflow: hidden;
            white-space: nowrap;
            border-bottom: 1px dotted transparent;
            background-image: none;
            padding-left: 0;
            cursor: pointer;
            text-overflow: ellipsis;
        }

    &.simple-view-table tr td.responsible .userLink {
        cursor: default;
    }

    tr:hover td.responsible .userLink,
    tr:hover td.responsible .userLink:hover {
        border-bottom: 1px dotted;
    }

        &.simple-view-table tr:hover td.responsible .userLink,
        &.simple-view-table tr td.responsible .userLink:hover,
        tr:hover td.responsible .userLink.not-action,
        tr td.responsible .userLink.not-action:hover {
            border-bottom: 1px dotted transparent;
            cursor: default;
        }
}

#filterContainer {
    display: none;
}